/* styles.css */

/* Global Styles */

:root {
  --main-color: #273c75;
  --accent-color: #40739e;
  --light-bg: #f4f7f8;
  --text-light: #ffffff;
  --text-muted: #7f8c8d;
}

body {
  background-color: #f4f8fc;
  font-family: "Arial", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* Container */
.auth-container {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(135deg, #273c75, #1c2a5a);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Auth Card */
.auth-card {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header Text */
h4 {
  font-size: 24px;
  color: #273c75;
  text-align: center;
  margin-bottom: 10px;
}

/* Slogan */
.slogan {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

/* Form Fields */
.input-group {
  margin-bottom: 20px;
}

.form-control {
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #273c75;
  box-shadow: 0 0 5px rgba(39, 60, 117, 0.6);
}

/* Submit Button */
.btn-primary {
  background-color: #273c75;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #1c2a5a;
}

/* Form Toggle */
.form-toggle {
  text-align: center;
  margin-top: 15px;
}

a {
  color: #273c75;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Alerts */
.alert {
  border-radius: 6px;
  margin-bottom: 15px;
  padding: 10px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-container {
    padding: 15px;
  }

  h4 {
    font-size: 22px;
  }

  .form-control {
    font-size: 14px;
  }

  .btn-primary {
    font-size: 14px;
  }
}

.btn-custom {
  background-color: var(--main-color);
  color: var(--text-light);
  border: none;
}

/*
.btn-custom:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
}
*/

/* Nouveau bouton avec style Bootstrap-like */
.btn-custom {
  display: inline-block;
  font-weight: 400;
  color: var(--text-light);
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  transition: all 0.15s ease-in-out;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
}

.btn-custom:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light);
}
